Parameters
- array
 - The buffer to which bytes are to be copied.
 - offset
 - The byte offset in the buffer at which to begin reading bytes.
 - count
 - The number of bytes to be read.
 
Return Value
The total number of bytes read into array.
        | Исключение | Описание | 
|---|---|
| System.ArgumentNullException | Thrown if array is null. | 
| System.ArgumentOutOfRangeException | Thrown if offset or count is negative. | 
| System.ArgumentException | Thrown if array is too short. | 
Целевые платформы: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5